<xsl:stylesheet version = "1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/item">
<div id="message" style="position:absolute; left:5px; top:5px; width:300px; height:20px; z-index:1">
	<font size="2">信息:
	<label id="messageContent"><xsl:value-of select="./message"/></label>
</font></div>
<div id="barBack" style="position:absolute;left:5px;top:29px;width:300px;height:10px;z-index:5;background-color:#0000FF">
  <div class="barFront" id="barFront">
  <xsl:attribute name="style">
                         <xsl:text>background-color: #FF0000;text-align: center;font-weight:older;color: #FFFFFF;width:</xsl:text>
                         <xsl:value-of select="./percent"/>
  </xsl:attribute> 
  <xsl:value-of select="./percent"/>%</div>
</div>
<div id="Layer1" style="position:absolute; left:5px; top:50px; width:300px; height:42px; z-index:2">
 <p><font size="2">上传速度:<label id="speed"><xsl:value-of select="./speed"/></label> K/S<br/>
    已上传:<label id="readTotalSize"><xsl:value-of select="./upload-size"/></label>M 共:<label id="totalSize"><xsl:value-of select="./total-size"/></label>M<br/>
估计剩余时间:<label id="remainTime"><xsl:value-of select="./remain-time"/></label><br/>
 估计总时间:<label id="totalTime"><xsl:value-of select="./total-time"/></label><br/>
 文件上传数:<label id="uploadedFileSum"><xsl:value-of select="./uploadedfile-sum"/>/<xsl:value-of select="./uploadfile-sum"/></label>
 </font></p>
</div>
<div id="Layer2" style="position:absolute; left:5px; top:129px; width:300px; height:13px; z-index:3">  
  <p align="center">
    <font size="2">    </font>
    <input name="isStop" type="checkbox" id="isStop" value="0"/> 
  <font size="2">关闭同时停止上传　　
  <input name="cancle" type="button" id="cancle" value="关闭此窗口" onClick="closeWindow();"/>
  </font></p>
</div>
<div id="Layer3" style="position:absolute; left:5px; top:155px; width:300px; height:19px; z-index:4">
  <p><font size="2">设计：<a href="http://blog.csdn.net/ahxu">ahxu</a> email:<a href="mailto:2736500@126.com">2736500@126.com</a></font></p>
</div>
</xsl:template>
</xsl:stylesheet> 